package com.ch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ch.model.entity.Doctor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【doctor】的数据库操作Service
* @createDate 2024-06-14 09:43:05
*/
public interface DoctorService extends IService<Doctor> {
	IPage<Doctor> selectDoctorPage(Page<Doctor> page, String doctorName);

	List<Doctor> getDoctor(int typeId, int depId, String date);

	boolean addDoctor(Doctor doctor);

	boolean updateDoctor(Doctor doctor) throws Exception;
}
